package com.ticket.sass.admin.dto.output.commodity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author ywb
 * @date 2023-04-04 18:33
 */

@Data
@ApiModel("订单列表返回")
public class CommodityOrderListOutput {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    
    @ApiModelProperty(value = "支付状态：0 未支付，1 已支付")
    private Integer payStatus;
    
    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;
    
    @ApiModelProperty(value = "支付类型：1 微信，2 支付宝")
    private Integer payType;
    
    @ApiModelProperty(value = "支付时间")
    private LocalDateTime payTime;
    
    @ApiModelProperty(value = "支付平台订单编号")
    private String platformOrderNo;
    
    @ApiModelProperty(value = "卖品数量")
    private Integer num;
    
    @ApiModelProperty(value = "是否有规格")
    private Boolean sku;
    
    @ApiModelProperty(value = "票订单  id")
    private Integer ticketOrderId;
    
    @ApiModelProperty(value = "影院 id")
    private Integer cinemaId;
    
    @ApiModelProperty(value = "用户 id")
    private Integer userId;
}
